package com.example.demo.day.config.learn.designBook.part9AbstractFactory.part1;

public abstract class AbstractBlackHuman implements Human {

    //黑色人种的皮肤颜色是黑色的
    @Override
    public void getColor() {
        System.out.println("黑色人种的皮肤颜色是黑色的");
    }

    @Override
    public void talk() {
        System.out.println("黑色人种会说话，一般人听不懂");
    }
}
